<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../org/angular.min.js"></script>
</head>
<body>
    <div ng-app="vm" ng-controller='ctrl'>
       {{price | currency:'¥':1}}
       <br/>
       {{price|number:2}}
       <br/>
       {{name|lowercase}}
       <br/>
       {{name|uppercase}}
       <br/>
       {{data|limitTo:4:0}}
       <br/>
       {{time|date:'y-MM-dd HH:mm:ss'}}
       <br/>
       {{data|orderBy:'click':true}}
       <br/>
       {{data|filter:'后盾人':false}}
    </div>
    <script>
        var vm = angular.module('vm',[]);
        vm.controller('ctrl',['$scope',function($scope){
            $scope.price = 1234.467;
            $scope.name = "HouDunWang";
            $scope.data="123456人人做后盾北京PHP培训";
            $scope.time = new Date().getTime();

            $scope.data = [
                {id: 1,click:100,title:'后盾人'},
                {id: 2,click:200,title:'后盾人'},
                {id: 3,click:300,title: '后盾网'}
            ]
        }])
    </script>
</body>
</html>